package com.ayne.game.engine.view;

import com.ayne.game.engine.controller.GameScreenController;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;

public class GameScreenView {
	private GameScreenController controller;
	private SpriteBatch batch;
	private OrthographicCamera camera;
	private float width, height;
	
	public GameScreenView (GameScreenController controller) {
		this.controller = controller;

		width = Gdx.graphics.getWidth();
		height = Gdx.graphics.getHeight();
		
		camera = new OrthographicCamera();
		camera.setToOrtho(false, width, height);
		camera.update();
		
		batch = new SpriteBatch();
		batch.setProjectionMatrix(camera.combined);
	}
	
	public void render() {
		batch.begin();
		{
			
		}
		batch.end();
	}
	
	public void dispose() {
		batch.dispose();
	}
}
